<!-- HTML header for doxygen 1.9.1-->
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=9" />
    <meta name="generator" content="Doxygen 1.9.4" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>NumCpp: put.hpp Source File</title>
    <link href="tabs.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="jquery.js"></script>
    <script type="text/javascript" src="dynsections.js"></script>
    <link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
    <link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
    <link href="doxygen.css" rel="stylesheet" type="text/css" />
    <link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
<link href="doxygen-awesome-sidebar-only-darkmode-toggle.css" rel="stylesheet" type="text/css"/>
    <!-- ... other metadata & script includes ... -->
    <script type="text/javascript" src="../doxygen-awesome-css/doxygen-awesome-darkmode-toggle.js"></script>
    <script type="text/javascript">
        DoxygenAwesomeDarkModeToggle.init()
    </script>
    <script type="text/javascript"
        src="../doxygen-awesome-css/doxygen-awesome-fragment-copy-button.js"></script>
    <script type="text/javascript">
        DoxygenAwesomeFragmentCopyButton.init()
    </script>
    <script type="text/javascript" src="../doxygen-awesome-css/doxygen-awesome-paragraph-link.js"></script>
    <script type="text/javascript">
        DoxygenAwesomeParagraphLink.init()
    </script>
    <script type="text/javascript" src="../doxygen-awesome-css/doxygen-awesome-interactive-toc.js"></script>
    <script type="text/javascript">
        DoxygenAwesomeInteractiveToc.init()
    </script>
</head>
<body>
    <div id="top">
        <!-- do not remove this div, it is closed by doxygen! -->
        <div id="titlearea">
            <table cellspacing="0" cellpadding="0">
                <tbody>
                    <tr style="height: 56px;">
                        <td id="projectlogo"><img alt="Logo" src="NumCppLogoDoxygen.png" /></td>
                        <td id="projectalign" style="padding-left: 0.5em;">
                            <div id="projectname">NumCpp
                                &#160;<span id="projectnumber">2.12.1</span>
                            </div>
                            <div id="projectbrief">A Templatized Header Only C++ Implementation of the Python NumPy Library</div>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <!-- end header part --><!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('put_8hpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle"><div class="title">put.hpp</div></div>
</div><!--header-->
<div class="contents">
<a href="put_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span> </div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span><span class="preprocessor">#include &quot;<a class="code" href="_types_8hpp.html">NumCpp/Core/Types.hpp</a>&quot;</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span><span class="preprocessor">#include &quot;<a class="code" href="_nd_array_8hpp.html">NumCpp/NdArray.hpp</a>&quot;</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span> </div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacenc.html">nc</a></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span>{</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span>    <span class="comment">//============================================================================</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span>    <span class="comment">// Method Description:</span></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span><span class="comment"></span>    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> dtype&gt;</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="namespacenc.html#a67c64a382604771260312ce13da69944">   46</a></span>    <a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; <a class="code hl_function" href="namespacenc.html#a67c64a382604771260312ce13da69944">put</a>(<a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inArray, <a class="code hl_typedef" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a> inIndex, <span class="keyword">const</span> dtype&amp; inValue)</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span>    {</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span>        inArray.<a class="code hl_function" href="classnc_1_1_nd_array.html#afcfdb9f8bbbc9f9f920fe35c7af6a8ff">put</a>(inIndex, inValue);</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span>        <span class="keywordflow">return</span> inArray;</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span>    }</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span> </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span>    <span class="comment">//============================================================================</span></div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span>    <span class="comment">// Method Description:</span></div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span><span class="comment"></span>    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> dtype&gt;</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"><a class="line" href="namespacenc.html#a37964b5660dbe495af4a1f0d44cfea32">   64</a></span>    <a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; <a class="code hl_function" href="namespacenc.html#a67c64a382604771260312ce13da69944">put</a>(<a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inArray, <a class="code hl_typedef" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a> inRow, <a class="code hl_typedef" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a> inCol, <span class="keyword">const</span> dtype&amp; inValue)</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span>    {</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span>        inArray.<a class="code hl_function" href="classnc_1_1_nd_array.html#afcfdb9f8bbbc9f9f920fe35c7af6a8ff">put</a>(inRow, inCol, inValue);</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span>        <span class="keywordflow">return</span> inArray;</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span>    }</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span> </div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span>    <span class="comment">//============================================================================</span></div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span>    <span class="comment">// Method Description:</span></div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span><span class="comment"></span>    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> dtype, <span class="keyword">typename</span> Indices, type_traits::ndarray_<span class="keywordtype">int</span>_concept&lt;Indices&gt; = 0&gt;</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="namespacenc.html#a0e5bb0df7e1a359f6af7bc675d468809">   82</a></span>    <a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; <a class="code hl_function" href="namespacenc.html#a67c64a382604771260312ce13da69944">put</a>(<a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inArray, <span class="keyword">const</span> Indices&amp; inIndices, <span class="keyword">const</span> dtype&amp; inValue)</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span>    {</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span>        inArray.<a class="code hl_function" href="classnc_1_1_nd_array.html#afcfdb9f8bbbc9f9f920fe35c7af6a8ff">put</a>(inIndices, inValue);</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span>        <span class="keywordflow">return</span> inArray;</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span>    }</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span> </div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span>    <span class="comment">//============================================================================</span></div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span>    <span class="comment">// Method Description:</span></div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span><span class="comment"></span>    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> dtype, <span class="keyword">typename</span> Indices, type_traits::ndarray_<span class="keywordtype">int</span>_concept&lt;Indices&gt; = 0&gt;</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"><a class="line" href="namespacenc.html#a34fd32b4ac2703d6256ec75546cd65f8">  100</a></span>    <a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; <a class="code hl_function" href="namespacenc.html#a67c64a382604771260312ce13da69944">put</a>(<a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inArray, <span class="keyword">const</span> Indices&amp; inIndices, <span class="keyword">const</span> <a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inValues)</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span>    {</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno">  102</span>        inArray.<a class="code hl_function" href="classnc_1_1_nd_array.html#afcfdb9f8bbbc9f9f920fe35c7af6a8ff">put</a>(inIndices, inValues);</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno">  103</span>        <span class="keywordflow">return</span> inArray;</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span>    }</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span> </div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span>    <span class="comment">//============================================================================</span></div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span>    <span class="comment">// Method Description:</span></div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno">  117</span><span class="comment"></span>    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> dtype&gt;</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"><a class="line" href="namespacenc.html#a73bde45c6281ba3a75e213a2675fa479">  118</a></span>    <a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; <a class="code hl_function" href="namespacenc.html#a67c64a382604771260312ce13da69944">put</a>(<a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inArray, <span class="keyword">const</span> <a class="code hl_class" href="classnc_1_1_slice.html">Slice</a>&amp; inSlice, <span class="keyword">const</span> dtype&amp; inValue)</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span>    {</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno">  120</span>        inArray.<a class="code hl_function" href="classnc_1_1_nd_array.html#afcfdb9f8bbbc9f9f920fe35c7af6a8ff">put</a>(inSlice, inValue);</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno">  121</span>        <span class="keywordflow">return</span> inArray;</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno">  122</span>    }</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno">  123</span> </div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno">  124</span>    <span class="comment">//============================================================================</span></div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno">  125</span>    <span class="comment">// Method Description:</span></div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno">  135</span><span class="comment"></span>    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> dtype&gt;</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"><a class="line" href="namespacenc.html#ac8b57dfa32e1e4adf4ca98ae4841b462">  136</a></span>    <a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; <a class="code hl_function" href="namespacenc.html#a67c64a382604771260312ce13da69944">put</a>(<a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inArray, <span class="keyword">const</span> <a class="code hl_class" href="classnc_1_1_slice.html">Slice</a>&amp; inSlice, <span class="keyword">const</span> <a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inValues)</div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno">  137</span>    {</div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno">  138</span>        inArray.<a class="code hl_function" href="classnc_1_1_nd_array.html#afcfdb9f8bbbc9f9f920fe35c7af6a8ff">put</a>(inSlice, inValues);</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno">  139</span>        <span class="keywordflow">return</span> inArray;</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno">  140</span>    }</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno">  141</span> </div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno">  142</span>    <span class="comment">//============================================================================</span></div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno">  143</span>    <span class="comment">// Method Description:</span></div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno">  154</span><span class="comment"></span>    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> dtype,</div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno">  155</span>             <span class="keyword">typename</span> RowIndices,</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno">  156</span>             <span class="keyword">typename</span> ColIndices,</div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno">  157</span>             type_traits::ndarray_int_concept&lt;RowIndices&gt; = 0,</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno">  158</span>             type_traits::ndarray_int_concept&lt;ColIndices&gt; = 0&gt;</div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"><a class="line" href="namespacenc.html#a45b73d56522f52def6af02b1ea049645">  159</a></span>    <a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; <a class="code hl_function" href="namespacenc.html#a67c64a382604771260312ce13da69944">put</a>(<a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp;   inArray,</div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno">  160</span>                        <span class="keyword">const</span> RowIndices&amp; inRowIndices,</div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno">  161</span>                        <span class="keyword">const</span> ColIndices&amp; inColIndices,</div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno">  162</span>                        <span class="keyword">const</span> dtype&amp;      inValue)</div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno">  163</span>    {</div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno">  164</span>        inArray.<a class="code hl_function" href="classnc_1_1_nd_array.html#afcfdb9f8bbbc9f9f920fe35c7af6a8ff">put</a>(inRowIndices, inColIndices, inValue);</div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno">  165</span>        <span class="keywordflow">return</span> inArray;</div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno">  166</span>    }</div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno">  167</span> </div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno">  168</span>    <span class="comment">//============================================================================</span></div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno">  169</span>    <span class="comment">// Method Description:</span></div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno">  180</span><span class="comment"></span>    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> dtype, <span class="keyword">typename</span> RowIndices, type_traits::ndarray_<span class="keywordtype">int</span>_concept&lt;RowIndices&gt; = 0&gt;</div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno">  181</span>    NdArray&lt;dtype&gt;&amp;</div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"><a class="line" href="namespacenc.html#a55e08e41868a46a6423bcfb0f384e1a5">  182</a></span>        <a class="code hl_function" href="namespacenc.html#a67c64a382604771260312ce13da69944">put</a>(<a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inArray, <span class="keyword">const</span> RowIndices&amp; inRowIndices, <span class="keyword">const</span> <a class="code hl_class" href="classnc_1_1_slice.html">Slice</a>&amp; inColSlice, <span class="keyword">const</span> dtype&amp; inValue)</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno">  183</span>    {</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno">  184</span>        inArray.<a class="code hl_function" href="classnc_1_1_nd_array.html#afcfdb9f8bbbc9f9f920fe35c7af6a8ff">put</a>(inRowIndices, inColSlice, inValue);</div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno">  185</span>        <span class="keywordflow">return</span> inArray;</div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno">  186</span>    }</div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno">  187</span> </div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno">  188</span>    <span class="comment">//============================================================================</span></div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno">  189</span>    <span class="comment">// Method Description:</span></div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno">  200</span><span class="comment"></span>    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> dtype, <span class="keyword">typename</span> ColIndices, type_traits::ndarray_<span class="keywordtype">int</span>_concept&lt;ColIndices&gt; = 0&gt;</div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno">  201</span>    NdArray&lt;dtype&gt;&amp;</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"><a class="line" href="namespacenc.html#abf1aef717a7f0f3f64b96d6552e4884d">  202</a></span>        <a class="code hl_function" href="namespacenc.html#a67c64a382604771260312ce13da69944">put</a>(<a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inArray, <span class="keyword">const</span> <a class="code hl_class" href="classnc_1_1_slice.html">Slice</a>&amp; inRowSlice, <span class="keyword">const</span> ColIndices&amp; inColIndices, <span class="keyword">const</span> dtype&amp; inValue)</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno">  203</span>    {</div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno">  204</span>        inArray.<a class="code hl_function" href="classnc_1_1_nd_array.html#afcfdb9f8bbbc9f9f920fe35c7af6a8ff">put</a>(inRowSlice, inColIndices, inValue);</div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno">  205</span>        <span class="keywordflow">return</span> inArray;</div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno">  206</span>    }</div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno">  207</span> </div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno">  208</span>    <span class="comment">//============================================================================</span></div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno">  209</span>    <span class="comment">// Method Description:</span></div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno">  220</span><span class="comment"></span>    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> dtype&gt;</div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"><a class="line" href="namespacenc.html#ad9b1d0b17fffdfb1783cbec4156b1540">  221</a></span>    <a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; <a class="code hl_function" href="namespacenc.html#a67c64a382604771260312ce13da69944">put</a>(<a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inArray, <span class="keyword">const</span> <a class="code hl_class" href="classnc_1_1_slice.html">Slice</a>&amp; inRowSlice, <span class="keyword">const</span> <a class="code hl_class" href="classnc_1_1_slice.html">Slice</a>&amp; inColSlice, <span class="keyword">const</span> dtype&amp; inValue)</div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno">  222</span>    {</div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno">  223</span>        inArray.<a class="code hl_function" href="classnc_1_1_nd_array.html#afcfdb9f8bbbc9f9f920fe35c7af6a8ff">put</a>(inRowSlice, inColSlice, inValue);</div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno">  224</span>        <span class="keywordflow">return</span> inArray;</div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno">  225</span>    }</div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno">  226</span> </div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno">  227</span>    <span class="comment">//============================================================================</span></div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno">  228</span>    <span class="comment">// Method Description:</span></div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno">  239</span><span class="comment"></span>    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> dtype, <span class="keyword">typename</span> Indices, type_traits::ndarray_<span class="keywordtype">int</span>_concept&lt;Indices&gt; = 0&gt;</div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"><a class="line" href="namespacenc.html#a84c236a072e06588fe839324a226d078">  240</a></span>    <a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; <a class="code hl_function" href="namespacenc.html#a67c64a382604771260312ce13da69944">put</a>(<a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inArray, <span class="keyword">const</span> Indices&amp; inRowIndices, <a class="code hl_typedef" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a> inColIndex, <span class="keyword">const</span> dtype&amp; inValue)</div>
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno">  241</span>    {</div>
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno">  242</span>        inArray.<a class="code hl_function" href="classnc_1_1_nd_array.html#afcfdb9f8bbbc9f9f920fe35c7af6a8ff">put</a>(inRowIndices, inColIndex, inValue);</div>
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno">  243</span>        <span class="keywordflow">return</span> inArray;</div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno">  244</span>    }</div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno">  245</span> </div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno">  246</span>    <span class="comment">//============================================================================</span></div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno">  247</span>    <span class="comment">// Method Description:</span></div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno">  258</span><span class="comment"></span>    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> dtype&gt;</div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"><a class="line" href="namespacenc.html#a8632c33c1f13c9d7e2127e3b91a32833">  259</a></span>    <a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; <a class="code hl_function" href="namespacenc.html#a67c64a382604771260312ce13da69944">put</a>(<a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inArray, <span class="keyword">const</span> <a class="code hl_class" href="classnc_1_1_slice.html">Slice</a>&amp; inRowSlice, <a class="code hl_typedef" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a> inColIndex, <span class="keyword">const</span> dtype&amp; inValue)</div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno">  260</span>    {</div>
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno">  261</span>        inArray.<a class="code hl_function" href="classnc_1_1_nd_array.html#afcfdb9f8bbbc9f9f920fe35c7af6a8ff">put</a>(inRowSlice, inColIndex, inValue);</div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno">  262</span>        <span class="keywordflow">return</span> inArray;</div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno">  263</span>    }</div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno">  264</span> </div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno">  265</span>    <span class="comment">//============================================================================</span></div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno">  266</span>    <span class="comment">// Method Description:</span></div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno">  277</span><span class="comment"></span>    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> dtype, <span class="keyword">typename</span> Indices, type_traits::ndarray_<span class="keywordtype">int</span>_concept&lt;Indices&gt; = 0&gt;</div>
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"><a class="line" href="namespacenc.html#a0b2fa410818e095dac6898161664b9ef">  278</a></span>    <a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; <a class="code hl_function" href="namespacenc.html#a67c64a382604771260312ce13da69944">put</a>(<a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inArray, <a class="code hl_typedef" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a> inRowIndex, <span class="keyword">const</span> Indices&amp; inColIndices, <span class="keyword">const</span> dtype&amp; inValue)</div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno">  279</span>    {</div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno">  280</span>        inArray.<a class="code hl_function" href="classnc_1_1_nd_array.html#afcfdb9f8bbbc9f9f920fe35c7af6a8ff">put</a>(inRowIndex, inColIndices, inValue);</div>
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno">  281</span>        <span class="keywordflow">return</span> inArray;</div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno">  282</span>    }</div>
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno">  283</span> </div>
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno">  284</span>    <span class="comment">//============================================================================</span></div>
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno">  285</span>    <span class="comment">// Method Description:</span></div>
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno">  296</span><span class="comment"></span>    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> dtype&gt;</div>
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"><a class="line" href="namespacenc.html#a06ba9924d8ca177a3ad753851eaa84ad">  297</a></span>    <a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; <a class="code hl_function" href="namespacenc.html#a67c64a382604771260312ce13da69944">put</a>(<a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inArray, <a class="code hl_typedef" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a> inRowIndex, <span class="keyword">const</span> <a class="code hl_class" href="classnc_1_1_slice.html">Slice</a>&amp; inColSlice, <span class="keyword">const</span> dtype&amp; inValue)</div>
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno">  298</span>    {</div>
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno">  299</span>        inArray.<a class="code hl_function" href="classnc_1_1_nd_array.html#afcfdb9f8bbbc9f9f920fe35c7af6a8ff">put</a>(inRowIndex, inColSlice, inValue);</div>
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno">  300</span>        <span class="keywordflow">return</span> inArray;</div>
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno">  301</span>    }</div>
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno">  302</span> </div>
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno">  303</span>    <span class="comment">//============================================================================</span></div>
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno">  304</span>    <span class="comment">// Method Description:</span></div>
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno">  315</span><span class="comment"></span>    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> dtype,</div>
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno">  316</span>             <span class="keyword">typename</span> RowIndices,</div>
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno">  317</span>             <span class="keyword">typename</span> ColIndices,</div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno">  318</span>             type_traits::ndarray_int_concept&lt;RowIndices&gt; = 0,</div>
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno">  319</span>             type_traits::ndarray_int_concept&lt;ColIndices&gt; = 0&gt;</div>
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno"><a class="line" href="namespacenc.html#af460043e8ba8071cd21c47c8c4364933">  320</a></span>    <a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; <a class="code hl_function" href="namespacenc.html#a67c64a382604771260312ce13da69944">put</a>(<a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp;       inArray,</div>
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno">  321</span>                        <span class="keyword">const</span> RowIndices&amp;     inRowIndices,</div>
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno">  322</span>                        <span class="keyword">const</span> ColIndices&amp;     inColIndices,</div>
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno">  323</span>                        <span class="keyword">const</span> <a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inValues)</div>
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno">  324</span>    {</div>
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno">  325</span>        inArray.<a class="code hl_function" href="classnc_1_1_nd_array.html#afcfdb9f8bbbc9f9f920fe35c7af6a8ff">put</a>(inRowIndices, inColIndices, inValues);</div>
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno">  326</span>        <span class="keywordflow">return</span> inArray;</div>
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno">  327</span>    }</div>
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno">  328</span> </div>
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno">  329</span>    <span class="comment">//============================================================================</span></div>
<div class="line"><a id="l00330" name="l00330"></a><span class="lineno">  330</span>    <span class="comment">// Method Description:</span></div>
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno">  341</span><span class="comment"></span>    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> dtype, <span class="keyword">typename</span> RowIndices, type_traits::ndarray_<span class="keywordtype">int</span>_concept&lt;RowIndices&gt; = 0&gt;</div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"><a class="line" href="namespacenc.html#a5611f54234229ddb39c89b032a59616b">  342</a></span>    <a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; <a class="code hl_function" href="namespacenc.html#a67c64a382604771260312ce13da69944">put</a>(<a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp;       inArray,</div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno">  343</span>                        <span class="keyword">const</span> RowIndices&amp;     inRowIndices,</div>
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno">  344</span>                        <span class="keyword">const</span> <a class="code hl_class" href="classnc_1_1_slice.html">Slice</a>&amp;          inColSlice,</div>
<div class="line"><a id="l00345" name="l00345"></a><span class="lineno">  345</span>                        <span class="keyword">const</span> <a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inValues)</div>
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno">  346</span>    {</div>
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno">  347</span>        inArray.<a class="code hl_function" href="classnc_1_1_nd_array.html#afcfdb9f8bbbc9f9f920fe35c7af6a8ff">put</a>(inRowIndices, inColSlice, inValues);</div>
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno">  348</span>        <span class="keywordflow">return</span> inArray;</div>
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno">  349</span>    }</div>
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno">  350</span> </div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno">  351</span>    <span class="comment">//============================================================================</span></div>
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno">  352</span>    <span class="comment">// Method Description:</span></div>
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno">  363</span><span class="comment"></span>    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> dtype, <span class="keyword">typename</span> ColIndices, type_traits::ndarray_<span class="keywordtype">int</span>_concept&lt;ColIndices&gt; = 0&gt;</div>
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno"><a class="line" href="namespacenc.html#a70086f6838e32bc48d4c509fc06b4e65">  364</a></span>    <a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; <a class="code hl_function" href="namespacenc.html#a67c64a382604771260312ce13da69944">put</a>(<a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp;       inArray,</div>
<div class="line"><a id="l00365" name="l00365"></a><span class="lineno">  365</span>                        <span class="keyword">const</span> <a class="code hl_class" href="classnc_1_1_slice.html">Slice</a>&amp;          inRowSlice,</div>
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno">  366</span>                        <span class="keyword">const</span> ColIndices&amp;     inColIndices,</div>
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno">  367</span>                        <span class="keyword">const</span> <a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inValues)</div>
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno">  368</span>    {</div>
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno">  369</span>        inArray.<a class="code hl_function" href="classnc_1_1_nd_array.html#afcfdb9f8bbbc9f9f920fe35c7af6a8ff">put</a>(inRowSlice, inColIndices, inValues);</div>
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno">  370</span>        <span class="keywordflow">return</span> inArray;</div>
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno">  371</span>    }</div>
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno">  372</span> </div>
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno">  373</span>    <span class="comment">//============================================================================</span></div>
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno">  374</span>    <span class="comment">// Method Description:</span></div>
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno">  385</span><span class="comment"></span>    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> dtype&gt;</div>
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno">  386</span>    NdArray&lt;dtype&gt;&amp;</div>
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno"><a class="line" href="namespacenc.html#ae566be3952130fe9fcb640dd64f2f0c2">  387</a></span>        <a class="code hl_function" href="namespacenc.html#a67c64a382604771260312ce13da69944">put</a>(<a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inArray, <span class="keyword">const</span> <a class="code hl_class" href="classnc_1_1_slice.html">Slice</a>&amp; inRowSlice, <span class="keyword">const</span> <a class="code hl_class" href="classnc_1_1_slice.html">Slice</a>&amp; inColSlice, <span class="keyword">const</span> <a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inValues)</div>
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno">  388</span>    {</div>
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno">  389</span>        inArray.<a class="code hl_function" href="classnc_1_1_nd_array.html#afcfdb9f8bbbc9f9f920fe35c7af6a8ff">put</a>(inRowSlice, inColSlice, inValues);</div>
<div class="line"><a id="l00390" name="l00390"></a><span class="lineno">  390</span>        <span class="keywordflow">return</span> inArray;</div>
<div class="line"><a id="l00391" name="l00391"></a><span class="lineno">  391</span>    }</div>
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno">  392</span> </div>
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno">  393</span>    <span class="comment">//============================================================================</span></div>
<div class="line"><a id="l00394" name="l00394"></a><span class="lineno">  394</span>    <span class="comment">// Method Description:</span></div>
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno">  405</span><span class="comment"></span>    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> dtype, <span class="keyword">typename</span> Indices, type_traits::ndarray_<span class="keywordtype">int</span>_concept&lt;Indices&gt; = 0&gt;</div>
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno">  406</span>    NdArray&lt;dtype&gt;&amp;</div>
<div class="line"><a id="l00407" name="l00407"></a><span class="lineno"><a class="line" href="namespacenc.html#ac737768119106780a28cf58021ed8ad1">  407</a></span>        <a class="code hl_function" href="namespacenc.html#a67c64a382604771260312ce13da69944">put</a>(<a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inArray, <span class="keyword">const</span> Indices&amp; inRowIndices, <a class="code hl_typedef" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a> inColIndex, <span class="keyword">const</span> <a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inValues)</div>
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno">  408</span>    {</div>
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno">  409</span>        inArray.<a class="code hl_function" href="classnc_1_1_nd_array.html#afcfdb9f8bbbc9f9f920fe35c7af6a8ff">put</a>(inRowIndices, inColIndex, inValues);</div>
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno">  410</span>        <span class="keywordflow">return</span> inArray;</div>
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno">  411</span>    }</div>
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno">  412</span> </div>
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno">  413</span>    <span class="comment">//============================================================================</span></div>
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno">  414</span>    <span class="comment">// Method Description:</span></div>
<div class="line"><a id="l00425" name="l00425"></a><span class="lineno">  425</span><span class="comment"></span>    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> dtype&gt;</div>
<div class="line"><a id="l00426" name="l00426"></a><span class="lineno">  426</span>    NdArray&lt;dtype&gt;&amp;</div>
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno"><a class="line" href="namespacenc.html#a80856fdb5e2a3b4702185c5a9ba398ae">  427</a></span>        <a class="code hl_function" href="namespacenc.html#a67c64a382604771260312ce13da69944">put</a>(<a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inArray, <span class="keyword">const</span> <a class="code hl_class" href="classnc_1_1_slice.html">Slice</a>&amp; inRowSlice, <a class="code hl_typedef" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a> inColIndex, <span class="keyword">const</span> <a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inValues)</div>
<div class="line"><a id="l00428" name="l00428"></a><span class="lineno">  428</span>    {</div>
<div class="line"><a id="l00429" name="l00429"></a><span class="lineno">  429</span>        inArray.<a class="code hl_function" href="classnc_1_1_nd_array.html#afcfdb9f8bbbc9f9f920fe35c7af6a8ff">put</a>(inRowSlice, inColIndex, inValues);</div>
<div class="line"><a id="l00430" name="l00430"></a><span class="lineno">  430</span>        <span class="keywordflow">return</span> inArray;</div>
<div class="line"><a id="l00431" name="l00431"></a><span class="lineno">  431</span>    }</div>
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno">  432</span> </div>
<div class="line"><a id="l00433" name="l00433"></a><span class="lineno">  433</span>    <span class="comment">//============================================================================</span></div>
<div class="line"><a id="l00434" name="l00434"></a><span class="lineno">  434</span>    <span class="comment">// Method Description:</span></div>
<div class="line"><a id="l00445" name="l00445"></a><span class="lineno">  445</span><span class="comment"></span>    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> dtype, <span class="keyword">typename</span> Indices, type_traits::ndarray_<span class="keywordtype">int</span>_concept&lt;Indices&gt; = 0&gt;</div>
<div class="line"><a id="l00446" name="l00446"></a><span class="lineno">  446</span>    NdArray&lt;dtype&gt;&amp;</div>
<div class="line"><a id="l00447" name="l00447"></a><span class="lineno"><a class="line" href="namespacenc.html#ad97b40d48abdded2c79e419042b26d8e">  447</a></span>        <a class="code hl_function" href="namespacenc.html#a67c64a382604771260312ce13da69944">put</a>(<a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inArray, <a class="code hl_typedef" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a> inRowIndex, <span class="keyword">const</span> Indices&amp; inColIndices, <span class="keyword">const</span> <a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inValues)</div>
<div class="line"><a id="l00448" name="l00448"></a><span class="lineno">  448</span>    {</div>
<div class="line"><a id="l00449" name="l00449"></a><span class="lineno">  449</span>        inArray.<a class="code hl_function" href="classnc_1_1_nd_array.html#afcfdb9f8bbbc9f9f920fe35c7af6a8ff">put</a>(inRowIndex, inColIndices, inValues);</div>
<div class="line"><a id="l00450" name="l00450"></a><span class="lineno">  450</span>        <span class="keywordflow">return</span> inArray;</div>
<div class="line"><a id="l00451" name="l00451"></a><span class="lineno">  451</span>    }</div>
<div class="line"><a id="l00452" name="l00452"></a><span class="lineno">  452</span> </div>
<div class="line"><a id="l00453" name="l00453"></a><span class="lineno">  453</span>    <span class="comment">//============================================================================</span></div>
<div class="line"><a id="l00454" name="l00454"></a><span class="lineno">  454</span>    <span class="comment">// Method Description:</span></div>
<div class="line"><a id="l00465" name="l00465"></a><span class="lineno">  465</span><span class="comment"></span>    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> dtype&gt;</div>
<div class="line"><a id="l00466" name="l00466"></a><span class="lineno">  466</span>    NdArray&lt;dtype&gt;&amp;</div>
<div class="line"><a id="l00467" name="l00467"></a><span class="lineno"><a class="line" href="namespacenc.html#adc7a200fb17632e18dc972843e843f89">  467</a></span>        <a class="code hl_function" href="namespacenc.html#a67c64a382604771260312ce13da69944">put</a>(<a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inArray, <a class="code hl_typedef" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a> inRowIndex, <span class="keyword">const</span> <a class="code hl_class" href="classnc_1_1_slice.html">Slice</a>&amp; inColSlice, <span class="keyword">const</span> <a class="code hl_class" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inValues)</div>
<div class="line"><a id="l00468" name="l00468"></a><span class="lineno">  468</span>    {</div>
<div class="line"><a id="l00469" name="l00469"></a><span class="lineno">  469</span>        inArray.<a class="code hl_function" href="classnc_1_1_nd_array.html#afcfdb9f8bbbc9f9f920fe35c7af6a8ff">put</a>(inRowIndex, inColSlice, inValues);</div>
<div class="line"><a id="l00470" name="l00470"></a><span class="lineno">  470</span>        <span class="keywordflow">return</span> inArray;</div>
<div class="line"><a id="l00471" name="l00471"></a><span class="lineno">  471</span>    }</div>
<div class="line"><a id="l00472" name="l00472"></a><span class="lineno">  472</span>} <span class="comment">// namespace nc</span></div>
<div class="ttc" id="a_nd_array_8hpp_html"><div class="ttname"><a href="_nd_array_8hpp.html">NdArray.hpp</a></div></div>
<div class="ttc" id="a_types_8hpp_html"><div class="ttname"><a href="_types_8hpp.html">Types.hpp</a></div></div>
<div class="ttc" id="aclassnc_1_1_nd_array_html"><div class="ttname"><a href="classnc_1_1_nd_array.html">nc::NdArray</a></div><div class="ttdoc">Holds 1D and 2D arrays, the main work horse of the NumCpp library.</div><div class="ttdef"><b>Definition:</b> NdArrayCore.hpp:139</div></div>
<div class="ttc" id="aclassnc_1_1_nd_array_html_afcfdb9f8bbbc9f9f920fe35c7af6a8ff"><div class="ttname"><a href="classnc_1_1_nd_array.html#afcfdb9f8bbbc9f9f920fe35c7af6a8ff">nc::NdArray::put</a></div><div class="ttdeci">self_type &amp; put(index_type inIndex, const value_type &amp;inValue)</div><div class="ttdef"><b>Definition:</b> NdArrayCore.hpp:3693</div></div>
<div class="ttc" id="aclassnc_1_1_slice_html"><div class="ttname"><a href="classnc_1_1_slice.html">nc::Slice</a></div><div class="ttdoc">A Class for slicing into NdArrays.</div><div class="ttdef"><b>Definition:</b> Slice.hpp:45</div></div>
<div class="ttc" id="anamespacenc_html"><div class="ttname"><a href="namespacenc.html">nc</a></div><div class="ttdef"><b>Definition:</b> Cartesian.hpp:40</div></div>
<div class="ttc" id="anamespacenc_html_a67c64a382604771260312ce13da69944"><div class="ttname"><a href="namespacenc.html#a67c64a382604771260312ce13da69944">nc::put</a></div><div class="ttdeci">NdArray&lt; dtype &gt; &amp; put(NdArray&lt; dtype &gt; &amp;inArray, int32 inIndex, const dtype &amp;inValue)</div><div class="ttdef"><b>Definition:</b> put.hpp:46</div></div>
<div class="ttc" id="anamespacenc_html_a9386099a0fdc2bc9fb0dbfde5606584d"><div class="ttname"><a href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">nc::int32</a></div><div class="ttdeci">std::int32_t int32</div><div class="ttdef"><b>Definition:</b> Types.hpp:36</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_34171bd951b13a53aa9f237277a18e40.html">NumCpp</a></li><li class="navelem"><a class="el" href="dir_9051d82ec7b39b1c992f5bf2868571ca.html">Functions</a></li><li class="navelem"><a class="el" href="put_8hpp.html">put.hpp</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4 </li>
  </ul>
</div>
</body>
</html>
